package top.tupobi.zing.mvp.view;

import java.util.List;

import top.tupobi.zing.base.IBaseView;
import top.tupobi.zing.mvp.model.FriendModel;
import top.tupobi.zing.mvp.model.TbMessage;

public interface IChatView extends IBaseView {
    void updateAvatar(String avatarUrl);

    void updateNickname(String ext1);

    void onAddFriendResponse(String message);

    void onNewFriendApplyToastAndUpdateMenuUI(String fromUsername);

    void refreshFriendList(List<FriendModel> friendList);

    void messageSendSuccess(TbMessage message);

    void onReceiveMessage(TbMessage message);

    void setCurrentChatFriendInfo(FriendModel friendModel);

    void loadMessage(List<TbMessage> messageList, FriendModel friendModel);

    void loadHistoryMessage(List<TbMessage> messageList, FriendModel friendModel);

    void stopRefresh();
}
